/**
 * Created by Administrator on 2020/3/29.
 */
//<!--&lt;!&ndash;控制搜索框按钮的js&ndash;&gt;-->
$("#z").hover(function () {
    $(this).css("background-color", "darkolivegreen");
}, function () {
    $(this).css("background-color", "darkslategray");
});
$("ul li a").hover(function () {
    $(this).parent().css("text-decoration","underline")
},function () {
    $(this).parent().css("text-decoration","none")

});

// <!--以下js处理入住日期-->
var date = new Date();
var mydate;
mydate = date.getFullYear();
mydate = mydate + "-";
mydate = mydate + (date.getMonth() + 1);
mydate = mydate + "-";
mydate = mydate + date.getDate();
$("#moveintodate").html(mydate);
$("#moveintodate").hover(function(){
    $(this).css("color", "darkolivegreen");
},function(){
    $(this).css("color", "black");
});

$("#showimg1").hover(function(){
    $("#showimgcontent1").css("border-color","purple")
},function(){
    $("#showimgcontent1").css("border-color","#eeeae9")
});
$("#showimg2").hover(function(){
    $("#showimgcontent2").css("border-color","red")
},function(){
    $("#showimgcontent2").css("border-color","#eeeae9")
});
$("#showimg3").hover(function(){
    $("#showimgcontent3").css("border-color","red")
},function(){
    $("#showimgcontent3").css("border-color","#eeeae9")
});





